﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace LandWeb.Models
{
    public class GridModels<T>
    {
        /// <summary>
        /// 数据集
        /// </summary>
        public List<T> DataList{ set;get; }
        /// <summary>
        /// 数据集行数
        /// </summary>
        public int DataCount { set; get; }
      
    }

    public class GridProp
    {
        /// <summary>
        /// 条件字符串，以and开头，可以为空
        /// </summary>
        public string FilterString { set; get; }
        /// <summary>
        /// 单页显示的记录行数
        /// </summary>
        public int PageSize { set; get; }
        /// <summary>
        /// 选中的页数
        /// </summary>
        public int SelectPage { set; get; }
        /// <summary>
        /// 排序字段
        /// </summary>
        public string OrderColumn { set; get; }
        /// <summary>
        /// 排序方式 ASC/DESC
        /// </summary>
        public string OrderType { set; get; }
    }

    public class GridBtnGroup
    {

    } 
}